package com.oig.base.api.fallback;

import com.oig.base.api.CountryGroupService;
import com.oig.sys.base.vo.CountryGroupVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

@Slf4j
public class CountryGroupServiceFallBackImpl implements CountryGroupService {

    @Setter
    private Throwable cause;


    @Override
    public CountryGroupVo info(Integer groupId) {
        log.error("getCountryGroup By GroupId feign error", cause);
        return null;
    }

    @Override
    public CountryGroupVo findGroupAllByName(String groupName) {
        log.error("getCountryGroup By groupName feign error", cause);
        return null;
    }


    @Override
    public List<CountryGroupVo> findAllGroupInfo() {
        log.error("findAllGroupInfo feign error", cause);
        return null;
    }
}
